package com.hechao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hechao.domain.User;

import java.util.List;

public interface UserService extends IService<User> {

    List<User> queryAll();
    User queryById(Integer id);
    User loginByUsernameAndPwd(String username,String password);
    Boolean deleteById(Integer id);
    Boolean update(User user);
    int insert(User user);
}
